package com.blood.core.enums;

/**
 * @author daoren
 * @date 2021/3/3 10:30
 * @description 预警规则
 */
public enum RuleEnum {
    LURK_EXTEND_RULE("lurk_extend_rule", "潜伏期延长"),

    PROLONGED_ACTIVE_PHASE_RULE("prolonged_active_phase_rule", "活跃期延长"),

    PROTRACTED_ACTIVE_PHASE_RULE("protracted_active_phase_rule", "活跃期停滞"),

    PROTRACTED_SECOND_STAGE_RULE("protracted_second_stage_rule", "第二产程停滞"),

    FETAL_HEAD_SECOND_STAGE_RULE("fetal_head_second_stage_rule", "胎头下降延缓"),

    FETAL_HEADED_SECOND_STAGE_RULE("fetal_headed_second_stage_rule", "胎头下降停滞"),

    STOP_RULE("stop_rule", "停产"),
    ;

    private String value;
    private String name;

    RuleEnum(String value, String name) {
        this.name = name;
        this.value = value;
    }

    public String getValue() {
        return this.value;
    }

    public String getName() {
        return this.name;
    }
}
